package cn.buk.tms.eotms.service;

import cn.buk.tms.eotms.dto.TrainOrderDto;
import cn.buk.tms.eotms.dto.TrainRefundOrderDto;
import cn.buk.tms.eotms.sc.TrainOrderSearchCriteria;

import java.util.List;

/**
 * @author yfdai
 */
public interface TrainOrderService {

  List<TrainOrderDto> searchTrainOrders(int userId, TrainOrderSearchCriteria sc);

  TrainOrderDto getTrainOrderById(int userId, int orderId);

  List<TrainRefundOrderDto> searchTrainRefundOrders(int userId, TrainOrderSearchCriteria sc);

  TrainRefundOrderDto getTrainRefundOrderById(int userId, int orderId);
}
